package com.studyv3.test.domain;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.time.LocalDateTime;


/**
 * lb_报废申请/审批对象 lb_apply_waste
 *
 * @author ruoyi
 * @date 2024-05-07
 */
@Data
@TableName("lb_apply_waste")
public class ApplyWaste {

    private static final Long serialVersionUID = 1L;

    /**
     *
     */
    @TableId(value = "id")
    private Integer id;
    /**
     * 申请人
     */
    private String applicant;
    /**
     * 报废品名称
     */
    private String objectName;
    /**
     * 报废品数量
     */
    private String objectAmount;
    /**
     * 申请状态 0 通过 1 未审批 2 未通过
     */
    private Integer flag;
    /**
     * 0 未删除 1 删除
     */
    @TableLogic(delval = "1")
    private Integer deleted;
    /**
     * 报废物品所属批次
     */
    private Integer batchId;

    /**
     * 报废物品所属批次
     */
    private Integer productsId;

    private String rejectAdvice;
    private LocalDateTime createTime;

    private LocalDateTime updateTime;

}
